#!/usr/bin/python


    #make this a location specfication and move actions closer to filters
    #having global scope (action apply to all filters) and granular (apply to individual filters)
FILTER_CONFIG = {
    'dir': '/export/home/mahdi', #use os path.join
    'preprocessfilters': {

    },#preprocessfilters END
    'postprocessfilters': { 
        'filtertype1': {
            'fparams': ('posarg', '*args', '**kdargs'),
            'actionlist': {
                'actiontype1': {
                    'aparams': ('posarg', '*args', '**kdargs'),
                }#actiontype END
            }#actionlist END
        },#postprocessfilters END
        'filtertype2': ('posarg', '*args', '**kdargs'),
        'filtertype3': ('posarg', '*args', '**kdargs'),
        'filtertype4': ('posarg', '*args', '**kdargs')
    },#postprocessfilters END
}#FILTER_CONFIG END
'''
    'filestopull': [
        {
            'dir': '', #empty ftp root dir, otherwise traverse to specified
        },
        {
            'ext': '.txt',
            'base': '123kdd.txt',
            'prepend': '123',
            'append': '',
        }
    ]

'''
